Release 10.1A: OpenEdge Getting Started:
WebSpeed Essentials
WebSpeed source files
All SpeedScript source files provided with WebSpeed, including
web-disp.p,web-util.p, example Web objects, and other SpeedScript source files, reside in directories underinstall-path/src/webandinstall-path/src/web2.The source files in
install-path/src/webare described below:
- Examples — Contains the source for Web object examples described in this manual, including HTML and offset files. It also contains additional examples of interest.
- Method — Contains the source for various SpeedScript compile-time include files (similar in function to C include files) that define some of the method procedures and API functions used by WebSpeed to construct Web objects.
- Objects — Contains the source for the main Web object dispatch procedure
web-disp.pand the utility objectweb-util.p.- Support — Contains all of the
tagmaputility procedures for HTML-mapping Web objects that are specified intagmap.datand that define the defaultweb.inputandweb.outputcontrol handlers for supported HTML form element and SpeedScript field object types. It also contains some run-time procedures for debugging and interpreting the offset file for an HTML-mapping Web object.- Template — Contains skeleton files used to create new Web objects and other types of support objects and files, including:
- File that defines the New File links that use these templates in the AppBuilder Files component (
web.cst).- Blank embedded SpeedScript file template (
script.html).- Embedded SpeedScript template for creating a database browser (
browse.html).- Embedded SpeedScript template for creating an application welcome page (
main.html).- HTML frame set template (
frameset.html).- Embedded SpeedScript template for generating a table of database fields that can be executed by another Web object (
table.html).- SpeedScript procedure file template (
procedur.p).- SpeedScript include file template (
include.i).- CGI Wrapper template for creating a SpeedScript-generating Web object (
wrap-cgi.w).- HTML-mapping template and include files (
html-map.wandhmapmain.i) for creating an HTML-mapping Web object.The source files in
install-path/src/web2are described below:
- Super procedures — These are
.iand .pfiles that contain the definitions of WebSpeed super procedures. To use super procedures, you include the.ifile in your 4GL code rather than running the.pfile directly. Super procedures are in theinstall-path/src/web2directory.For more information about super procedures, see OpenEdge Deployment: Managing 4GL Applications .
- Templates — Code relating to WebSpeed Report, Detail, and HTML Mapping wizards is in the
install-path/src/web2/templatesdirectory. These files can be used as models for creating custom templates that can be made accessible to the AppBuilder through a.cstfile.There are two kinds of files in the template directory. First are the
.wand.itemplate files. These are used to create new objects that can be made available from the AppBuilder palette. More information on using.wand.itemplate files to extend AppBuilder can be found in OpenEdge Application Server: Developing AppServer Applications .The second type of file is the HTML template files (
.datfiles) for the report and detail wizards. These can be used as examples of how to create new wizards that create embedded 4GL files (.htmlfiles). Each.datfile has a companion.wfile with the same filename (for example,wreport.wandwreport.dat) that acts as a SpeedScript wrapper for the.datfile.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |